ElasticPress\Feature\ProtectedContent\ProtectedContent A

Total Complexity 52
Dependencies 2
Dependents 1
Total lines 460
Lines of code 211
Logical lines of code 106
Comment lines 186
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
integrate()
A
48 10 33
integrate_comments_query()
A
54 8 21
remove_fields_from_password_protected()
S
52 6 26
maybe_change_sort()
S
58 5 16
exclude_protected_posts()
S
60 5 12
setup()
S
53 3 21
post_types()
S
54 2 23
include_post_password()
S
71 2 5
requirements_status()
S
68 2 7
set_settings_schema()
S
63 1 11
get_comment_statuses()
S
81 1 3
sync_password_protected()
S
82 1 3
__construct()
S
71 1 6
get_statuses()
S
72 1 5
output_feature_box_long()
S
74 1 5
set_i18n_strings()
S
69 1 6
query_password_protected_posts()
S
76 1 4
return_post_password()
S
77 1 4